package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ContentController {

    @GetMapping("/admin/test1")
    public String test1(){
        return "admin/test1";
    }

    //后端首页
    @GetMapping("/admin/dashboard")
    public String dashboard(){
        return "admin/dashboard";
    }

    //前端首页
    @GetMapping("/index2")
    public String index2(){
        return "index2";
    }


    /*@GetMapping("/show/address/add")
    public String test3(){
        return "/show/address/add";
    }

    @GetMapping("/show/address/choose")
    public String test4(){
        return "/show/address/choose";
    }*/

}
